//服务状态
export enum ServiceType {
  // 0:下线 1:上线 2:已创建 3:待审核 4:驳回
  Created = 2,
  //1 = '待审核',
  Review = 3,
  //2 = '上线',
  Pass = 1,
  //3 = '已驳回',
  Reject = 4,
  //4 = '下线',
  Offline = 0,
}
//服务状态-描述
export const ServiceTypeDesc = {
  [ServiceType.Created]: '已创建',
  [ServiceType.Review]: '待审核',
  [ServiceType.Pass]: '上线',
  [ServiceType.Reject]: '已驳回',
  [ServiceType.Offline]: '下线',
}

//服务类型
export const ServiceTypeList = [
  {
    value: ServiceType.Created,
    label: ServiceTypeDesc[ServiceType.Created],
  },
  {
    value: ServiceType.Review,
    label: ServiceTypeDesc[ServiceType.Review],
  },
  {
    value: ServiceType.Pass,
    label: ServiceTypeDesc[ServiceType.Pass],
  },
  {
    value: ServiceType.Reject,
    label: ServiceTypeDesc[ServiceType.Reject],
  },
  {
    value: ServiceType.Offline,
    label: ServiceTypeDesc[ServiceType.Offline],
  },
]
